package com.jinzhi;

public class Demo02 {
    public static void main(String[] args) {

        int a=10;
        int b=20;

        int temp =a;
        a=b;
        b=temp;


          a= a^b;  // 10^20
          b=a^b;   //  10^20^20    10
          a=a^b;    //   10^20^10^20^20    20
        System.out.println(a);
        System.out.println(b);
    }
}
